FROM centos:7
MAINTAINER xiamu "cnxiahuajie@icloud.com"
WORKDIR /usr/share/jdk
ADD jdk17.tar.gz /usr/share/jdk/
ENV JAVA_HOME=/usr/share/jdk/jdk-17.0.6
ENV CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
ENV PATH=$PATH:$JAVA_HOME/bin
